package com.car.loan.project.xr.util.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/11/17 15:23
 */
@Data
public class BusinessAuditInfo {

    /**
     * 业务审核状态 业务审核状态0=未审核1=通过2=退回3=拒绝4=加签
     */
    @ApiModelProperty(value = "审批结果,0=未审核1=通过2=退回3=拒绝4=加签", required = true)
    @NotNull
    private Long result;

    @ApiModelProperty(value = "加签审批结果,0=未审核1=通过2=退回3=拒绝")
    private Long secondResult;

    @ApiModelProperty("加签人id")
    private Long secondAuditId;

    @ApiModelProperty("加签人名称")
    private String secondAuditName;

    @ApiModelProperty("加签人部门")
    private String secondAuditDepName;

    @ApiModelProperty("审批提交人员")
    private String businessAuditName;

    @ApiModelProperty("审批提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime businessAuditTime;

    @ApiModelProperty("审批意见")
    private String auditRemark;

    @ApiModelProperty("缺件信息")
    private String missingRemark;

    @ApiModelProperty("业务建议")
    private String businessSuggest;

    @ApiModelProperty("加签意见")
    private String secondAuditRemark;

    @ApiModelProperty(value = "业务id", required = true)
    @NotNull
    private Long loanId;

}
